home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gLecLabel, g1erSprLoc, gVidDuree, gLabel, gScopeDe
- if gScopeDe(GetTime) >= gVidDuree then
- set gLecLabel to "DE:lec:fin"
- set gLabel to "DE:mon"
- end if
- go(label(gLecLabel))
- end
-
- on renseigne texte, stile, nCurs
- set the text of cast "Zone Info" to " "
- set the textStyle of field "ZONE INFO" to "plain"
- set the textStyle of field "ZONE INFO" to stile
- set the text of cast "Zone Info" to texte
- curseur(nCurs)
- end
-
- on idle
- global gBarChron, gSurvolAct, gSurvolPrec, gListSuj, gMessDef1, gMaxBoutons, gEtaSpir, gMessSty1, g1erSprChr, g1erSprNav, g1erSprLoc, gListCod, gEtudAct, gTraduit
- if not (the mouseDown) then
- set MsCast to the mouseCast
- if not gEtaSpir then
- set gSurvolAct to 0
- repeat with monSpr = g1erSprChr to gMaxBoutons
- if rollOver(monSpr) and (the castNum of sprite monSpr <> 0) then
- set gSurvolAct to monSpr
- exit repeat
- end if
- end repeat
- if gSurvolAct <> gSurvolPrec then
- if gSurvolAct <> 0 then
- if (gSurvolAct >= g1erSprChr) and (gSurvolAct <= (g1erSprChr + 9)) then
- gBarChron(survol, gSurvolAct, the number of cast "Zone info")
- end if
- if gSurvolAct = g1erSprNav then
- renseigne(getAt(gTraduit, 12), "bold", 7)
- end if
- if gSurvolAct = (g1erSprNav + 1) then
- renseigne(getAt(gTraduit, 1) && getAt(gTraduit, 2) && getAt(gTraduit, 3), "bold", 7)
- end if
- if gSurvolAct = (g1erSprNav + 2) then
- renseigne(getAt(gTraduit, 1) && getAt(gTraduit, 2) && getAt(gTraduit, 5), "bold", 7)
- end if
- if gSurvolAct = (g1erSprNav + 3) then
- renseigne(getAt(gTraduit, 26) && getAt(gTraduit, 4), "bold", 7)
- end if
- if gSurvolAct = (g1erSprNav + 4) then
- renseigne(getAt(gTraduit, 1) && getAt(gTraduit, 2) && getAt(gTraduit, 7), "bold", 7)
- end if
- if gSurvolAct = (g1erSprNav + 5) then
- renseigne(getAt(gTraduit, 27), "bold", 7)
- end if
- if gSurvolAct = g1erSprLoc then
- renseigne(getAt(gTraduit, 87), "bold", 1)
- end if
- if gSurvolAct = (g1erSprLoc + 1) then
- if word 1 of the name of cast the castNum of sprite gSurvolAct = "BTGPOS" then
- renseigne(getAt(gTraduit, 50), "bold", 1)
- else
- renseigne(getAt(gTraduit, 53), "bold", 1)
- end if
- end if
- else
- gBarChron(fleche, 0, 1, 1)
- renseigne(gMessDef1, gMessSty1, -1)
- end if
- set gSurvolPrec to gSurvolAct
- updateStage()
- end if
- else
- if MsCast <> -1 then
- if the number of words in the name of cast MsCast = 2 then
- if (word 2 of the name of cast MsCast = "1") or (word 2 of the name of cast MsCast = "0") then
- curseur(1)
- else
- curseur(-1)
- end if
- else
- curseur(-1)
- end if
- else
- curseur(-1)
- end if
- end if
- end if
- end
-